package com.cskaoyan.javse.oop3._2inner._3exercise;

/**
 * @description: 小练习
 * @author: wuguidong@cskaoyan.onaliyun.com
 **/

public class Demo2 {
}

//补全程序，使得可以输出三个num
class Outer {
    public int num = 10;

    class Inner {
        public int num = 20;
        public void show() {
            int num = 30;
            System.out.println(num);
            System.out.println(this.num);
            System.out.println(Outer.this.num);
        }
    }
}